package com.tanhua.dubbo.api;

import com.tan.model.mongo.Comment;
import com.tan.model.vo.PageResult;

import java.util.List;

public interface CommentApi {

    Integer publishComment(String movementId, String comment, Long published,Integer type);

    PageResult getComments(String movementId, Integer page, Integer pagesize);

    Boolean getbooleanlike(String moventventid, Long id);

    Integer deletelike(String moventid, Long userId, int type);

    Boolean getbooleanlove(String moventventid, Long id);

    Integer savecommentlike(String moventid);

    Integer deletecommentlike(String commentid);

    List<Comment> getLikeCount(Long userId, int type);
}